﻿<ng-include src="'./includes/header.html'"></ng-include>

<div class="main">
    <div class="container">
		<div class="row">
      		<div class="widget stacked widget-table action-table">
					
				<div class="widget-header">
					<i class="icon-th-list"></i>
					<h3>{{ 'CHANGEMYPROFILE' | i18n }}</h3>
				</div> <!-- /widget-header -->
				<div class="widget-content">
					<form class="form-horizontal" role="form">
						<div class="form-group">
							<label for="user_login" class="col-sm-2 control-label">{{ 'LOGIN' | i18n }}</label>
							<div class="col-sm-4">
								<input type="text" id="user_login" class="form-control" ng-model="currentuser.login" disabled>
							</div>
						</div>
						<div class="form-group">
							<label for="user_password" class="col-sm-2 control-label">{{ 'OLDPASSWORD' | i18n }}</label>
							<div class="col-sm-4">
								<input type="password" id="user_password" class="form-control" ng-model="currentuser.password">
							</div>
						</div>
						<div class="form-group">
							<label for="user_new_password" class="col-sm-2 control-label">{{ 'NEWPASSWORD' | i18n }}</label>
							<div class="col-sm-4">
								<input type="password" id="user_new_password" class="form-control" ng-model="currentuser.newpassword">
							</div>
						</div>
						<div class="form-group">
							<label for="user_new_password2" class="col-sm-2 control-label">{{ 'NEWPASSWORD2' | i18n }}</label>
							<div class="col-sm-4">
								<input type="password" id="user_new_password2" class="form-control" ng-model="currentuser.newpassword2">
							</div>
						</div>
						<div class="form-group">
							<label for="user_email" class="col-sm-2 control-label">{{ 'EMAIL' | i18n }}</label>
							<div class="col-sm-10">
								<input type="email" id="user_email" class="form-control" ng-model="currentuser.email">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">{{ 'ACTIONS' | i18n }}</label>
							<div class="col-sm-10">
								<button type="button" ng-click="vm.update()" class="btn btn-sm"><span class="glyphicon glyphicon-floppy-save"></span> {{ 'SAVE' | i18n }}</button>
							</div>
						</div>
					</form>
				</div> <!-- /widget-content -->
			</div>
		</div>
	</div>
</div>

</div>
